<!--<style>-->
    <!--.dt{-->
        <!--height: 350px;-->
    <!--}-->
<!--</style>-->
<m-project-plan select-tab="summary">
    <div class="row mm-loading">
        <div class="col-sm-12">
            <div class="wrapper-md ng-scope" style="padding: 0px 20px;">
                <m-form invalid="info.invalid">
                    <m-form-lable title="项目计划概述" no-border="true">
                        <div class="col-sm-6">
                            <m-form-line label="项目名称：">
                                <p class="form-control-static">{{info.projectPlanInfo.projectPlanName}}</p>
                            </m-form-line>
                        </div>
                        <div class="col-sm-6">
                            <m-form-line label="项目代号：">
                                <p class="form-control-static">{{info.projectPlanInfo.projectPlanCode}}</p>
                            </m-form-line>
                        </div>
                        <div class="col-sm-6">
                            <m-form-line label="项目负责人：">
                                <m-ui-select prompt="添加项目负责人"
                                             selected-item ="info.sPmList"
                                             itme-list="info.pmList"
                                             select-item-fun="addItemOfMember(item, 'pm')">
                                </m-ui-select>
                            </m-form-line>
                        </div>
                        <div class="col-sm-6">
                            <m-form-line label="PDM：">
                                <m-ui-select prompt="添加PDM"
                                             selected-item ="info.sPdmList"
                                             itme-list="info.pdmList"
                                             select-item-fun="addItemOfMember(item, 'pdm')">
                                </m-ui-select>
                            </m-form-line>
                        </div>
                        <div class="col-sm-6">
                            <m-form-line label="启动日期：">
                                <m-datepicker select-dt="info.projectPlanInfo.projectPlanStartupTime"></m-datepicker>
                            </m-form-line>
                        </div>
                        <div class="col-sm-6">
                            <m-form-line label="上线日期：">
                                <m-datepicker select-dt="info.projectPlanInfo.projectPlanOnlineTime"></m-datepicker>
                            </m-form-line>
                        </div>
                        <div class="col-sm-6">
                             <m-form-line label="禅道：">
                                <p class="form-control-static">{{info.projectPlanInfo.projectPlanName}}</p>
                            </m-form-line>
                        </div>
                        <div class="col-sm-6">
                            <m-form-line label="业务线：">
                                <winit-select on-init="true"
                                              modeldata="info.projectPlanInfo.projectPlanBusiness"
                                              optiondata="value"
                                              optiondata-value="key"
                                              datalist="business">
                                </winit-select>
                            </m-form-line>
                        </div>
                        <div class="row mm-loading">
                            <div class="col-sm-12">
                                <accordion>
                                    <accordion-group heading="团队成员" is-open="true">
                                        <div class="box-header">
                                            <winit-table thdata="info.memberThdata"
                                                         page="info.memberPage"
                                                         data="info.meList" 
                                                         auto-height="false" 
                                                         table-id="memT" 
                                                         table-height="350"
                                                         no-link="true">
                                            </winit-table>
                                        </div>
                                        <div class="col-sm-12 modal-body">
                                            <div class="col-sm-3">
                                                <m-ui-select prompt="请选择成员"
                                                             selected-item ="info.sltMemberItem"
                                                             itme-list="info.memberList">
                                                </m-ui-select>
                                            </div>
                                            <div class="col-sm-9">
                                                <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="addMemeberToList()">添加</button>
                                                <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="addMeToMemeberList()">我要加入 </button>
                                            </div>
                                        </div>
                                    </accordion-group>
                                </accordion>
                            </div>
                        </div>
                       <!--  <m-form-line label="附件：">
                            <div>
                                <input id="sqlFile" type="file" multiple name="file" class="file" data-show-preview="false">
                            </div>
                            <div>
                                <a href="javascript:void(0);"
                                    title="下载文件"
                                    ng-repeat="attachment in info.projectPlanInfo.attachments"
                                    ng-click="downloadFile(attachment.attachmentId);">
                                    {{attachment.attachmentName}}
                                </a>
                                <di class="red">支持的附件格式有：doc，docx，txt，img，tiff，vsd，jpg，png，pdf，xls，xlsx</di>
                            </div>
                        </m-form-line> -->
                        <!-- <m-form-line label="项目成员：">
                            <ui-select multiple ng-model="info.sMemberList" theme="bootstrap" ng-disabled="disabled">
                                <ui-select-match placeholder="点击添加项目成员">{{$item.realname}}</ui-select-match>
                                <ui-select-choices repeat="role in info.memberList | propsFilter: {realname: $select.search}|limitTo:15">
                                    <div><span ng-bind-html="role.realname | highlight: $select.search"></span></div>
                                </ui-select-choices>
                            </ui-select>
                        </m-form-line> -->
                    </m-form-lable>
                </m-form>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12 mm-loading-icon" style="text-align: center; display: none; padding-top: 25%;">
            <i class="fa fa-spinner fa-spin fa-4x fa-fw" style="color: rgb(158, 149, 149);"></i>
        </div>
    </div>
</m-project-plan>
<winit-settings btn-list="settings.btnEle"></winit-settings>